package priv.dajie.tzzq.dao;

import org.apache.ibatis.annotations.Param;
import priv.dajie.tzzq.model.*;
import priv.dajie.tzzq.spider.model.Platform;

import java.util.List;

/**
 * @ClassName TradeMapper
 * @Description
 * @Author dajie
 * @Date 2019/10/17 2:31 上午
 * @Version V1.0
 **/

public interface TradeMapper {
    List<BuyCompareItem> getBuyItems();
    TradeStateItems getTradeState(@Param("goodsState") GoodsState goodsState,@Param("platform") Platform platform);
    Boolean addTrade(BuyGoods buyGoods);
    Boolean updateTradeState(TradeStateItem tradeStateItem);

}
